package version1;

/**
 * @author zhangjiayuan@qipeipu.com
 * @date 2019/1/14 9:49
 * @since 1.0.0
 */
public class Str {
    public static void main(String[] args) {
        String str = "abcdabcdababcdabcdababcdabcdabcde";
        long start = System.nanoTime();
        long end = 0;
        if(str.contains("abcde")){
            end = System.nanoTime();
        }
        System.out.println(end-start);
    }
}
